require "import"
import "android.widget.*"
import "android.content.Context"
import "android.content.Intent"
import "android.net.Uri"

local mensajes = {
    "Mensaje 1",
    "Mensaje 2",
    "Mensaje 3"
}
local enlaces = {
    "https://www.ejemplo.com/enlace1",
    "https://www.ejemplo.com/enlace2",
    "https://www.ejemplo.com/enlace3"
}

local contexto = activity or service

local layout = {
    LinearLayout,
    orientation = LinearLayout.VERTICAL,
    {
        TextView,
        text = "Interfaz de Usuario",
        textSize = "20sp",
        gravity = 17, -- Gravity.CENTER
        padding = "16dp",
    },
    {
        ListView,
        id = "listView",
        layout_width = "fill",
        layout_height = "wrap_content",
   ⬤